﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace TileEditorApplication
{
    class Object
    {       
        public Bitmap bitmap;

        public String name;
        public String fileName;
        public String filePath;

        public Size size;
        public Point position;

        public int rotation = 0;

        public int textureID = -1;
        public int objType = 0;

        public Object(String _name, String _filename, String _filePath, Size _size, Point _position, int _rotation,int _objType, int ID)
        {
            name = _name;
            fileName = _filename;

            filePath = _filePath;
            bitmap = new Bitmap(_filePath);
            size = _size;
            position = _position;
            rotation = _rotation;
            objType = _objType;
            textureID = ID;
        }
    }
}
